package com.liangwei.jd.controller;

import com.liangwei.jd.service.MaoTaiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("start")
public class StartController {

    @Autowired
    private MaoTaiService maoTaiService;

    @RequestMapping("/go")
    public String start()
    {
        maoTaiService.start();
        return "";
    }

}
